Make shr feed Content-Type to the image-creating libraries
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 13 Aug 2013 18:09:50 +0000 (20:09 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 13 Aug 2013 18:09:50 +0000 (20:09 +0200)
commitad9357aeda6514389b30edc2ddf0857f1830eaf7
tree9ebdb8c74b43e893eef0d687c77416850db650fe
parentc9ab66ae88c759e245682026b28123113ad27414
Make shr feed Content-Type to the image-creating libraries

This finally makes it possible to display icons.

* net/eww.el (eww-display-image): Ditto.

* net/shr.el (shr-parse-image-data): New function to grab both the
data itself and the Content-Type.
(shr-put-image): Use it.
lisp/ChangeLog
lisp/net/eww.el
lisp/net/shr.el